home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / BBS-Archive / Comm / AmiTCP30b2.lha / src / appl / napsaterm / config.h < prev    next >
C/C++ Source or Header  |  1994-05-14  |  2KB  |  97 lines

  1. #ifndef NAPSA_CONFIG_H
  2. #define NAPSA_CONFIG_H
  3.  
  4. /* $Id: config.h,v 3.4 1994/05/14 14:02:28 ppessi Exp $
  5.  *
  6.  * config.h --- Configuration for Napsaterm
  7.  *
  8.  * Author: ppessi <Pekka.Pessi@hut.fi>
  9.  *
  10.  * Copyright (c) 1993 AmiTCP/IP Group, <amitcp-group@hut.fi>
  11.  *                    Helsinki University of Technology, Finland.
  12.  *                    All rights reserved.
  13.  *
  14.  * Created      : Tue May 18 15:05:14 1993 ppessi
  15.  * Last modified: Sat May 14 16:06:01 1994 ppessi
  16.  *
  17.  * $Log: config.h,v $
  18.  * Revision 3.4  1994/05/14  14:02:28  ppessi
  19.  * Added optional tektronix 4010 emulation to configuration
  20.  *
  21.  * Revision 3.3  1994/05/14  11:04:21  ppessi
  22.  * Added Telnet
  23.  *
  24.  * Revision 3.2  1994/02/25  16:08:03  ppessi
  25.  * Disabled DNET; enabled getpwent()
  26.  *
  27.  * Revision 3.1  1994/01/07  22:50:50  ppessi
  28.  * Version 3 beta
  29.  */
  30.  
  31. /* Uncomment if you don't want to have tektronix 4010 emulation */
  32. #define TEKTRONICS 1
  33.  
  34. /* Uncomment latter if you want to have serial.device interface */
  35. /* #define USE_SERIAL 0 */
  36. #define USE_SERIAL 1
  37.  
  38. /* Uncomment latter if you want to have dnet interface */
  39. #define USE_DNET 0 
  40. /* #define USE_DNET 1 */
  41.  
  42. /* Uncomment latter if you want to have DOS file IO interface */
  43. /* #define USE_STDIO 0 */
  44. #define USE_STDIO 1
  45.  
  46. /* Uncomment latter if you want to have rlogin protocol interface */
  47. /* #define USE_RLOGIN 0 */
  48. #define USE_RLOGIN 1
  49.  
  50. /* Uncomment latter if you want to have telnet protocol interface */
  51. /* #define USE_TELNET 0 */
  52. #define USE_TELNET 1
  53.  
  54. /* Uncomment if you want to use non-blocking socket IO with rlogin */
  55. #define USE_FIONBIO 1
  56.  
  57. /* Uncomment if we have a working getuid() and getpwuid */
  58. #define USE_GETUID 1
  59.  
  60. /*
  61.  * Compiler dependent stuff
  62.  *
  63.  * - the shared library interface defines
  64.  * - linker interface
  65.  */
  66.  
  67. /* Uncomment if you want use clib includes and amiga.lib stubs */
  68. /* #define USE_CLIB 1 */
  69.  
  70. #if defined(__SASC)
  71. #if !defined(USE_CLIB)
  72. #define USE_PRAGMAS 1
  73. #endif
  74. #define USE_CHIP    1        /* we have __chip keyword */
  75. #define INLINE __inline
  76. #define CHIP __chip
  77. #define ASM  __asm        /* registerized arguments */
  78.  
  79. #elif defined(__GNUC__)
  80. #error GNU CC is not fully supported 
  81. #if !defined(USE_CLIB)
  82. #define USE_INLINE 1
  83. #endif
  84. #undef USE_CHIP            /* No __chip keyword */
  85. #define INLINE __inline
  86. #define CHIP
  87. #define ASM  __asm
  88.  
  89. #else
  90. #define USE_CLIB
  91. #define INLINE
  92. #undef  USE_CHIP
  93. #define CHIP
  94. #define ASM
  95. #endif
  96. #endif
  97.